import { Toast  } from "vant";
import cTitle from "components/title";

export default {
  data() {
    return {
      list: [],
      page: 1,
      uid: '',
    };
  },

  components: {
    cTitle
  },
  activated() {
    console.log(this.$route.params,'下级')
    this.uid = this.$route.params.id;
    this.getData();
  },
  computed: {
   
  },
  methods: {
    toAichatHistory(id) {
      this.$router.push(this.fun.getUrl("yunAichatHistory",{id: id}));
  },
    getData(){
        $http.get("ZhengChengYc.liaotian_xxj", {
            uid: this.uid,
          }, "加载中").then((res) => {
            if (res.result == 1) {
              console.log(res,'shuju_list')
              this.list = res.data;
            }
          });
    },
    
  }
};